package cn.lyh.gulimall.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * @author lyh
 * @version 1.0
 * @since 2021/4/6
 */
/**
    * 采购信息
    */
@Data
@TableName(value = "wms_purchase")
public class WmsPurchase {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "assignee_id")
    private Long assigneeId;

    @TableField(value = "assignee_name")
    private String assigneeName;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "priority")
    private Integer priority;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "ware_id")
    private Long wareId;

    @TableField(value = "amount")
    private BigDecimal amount;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "update_time")
    private Date updateTime;

    public static final String COL_ID = "id";

    public static final String COL_ASSIGNEE_ID = "assignee_id";

    public static final String COL_ASSIGNEE_NAME = "assignee_name";

    public static final String COL_PHONE = "phone";

    public static final String COL_PRIORITY = "priority";

    public static final String COL_STATUS = "status";

    public static final String COL_WARE_ID = "ware_id";

    public static final String COL_AMOUNT = "amount";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_UPDATE_TIME = "update_time";
}